﻿<!DOCTYPE html>
<html lang="he" dir="rtl">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@ViewBag.Title - @Wiki.My.Resources.SiteName</title>
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/bootstrap")
    @RenderSection("scripts", required:=False)
    <script type="text/javascript">
        $(window).load(function () { $("#page").attr("value", ""); });
    </script>
</head>
<body>
    <div class="navbar-inverse navbar-fixed-top" style="height:48px;">
        <div>
            <div class="navbar-header">
                <a href="/" class="navbar-brand">@Wiki.My.Resources.SiteName</a>
            </div>
            <div class="nav navbar-nav pull-left">
                @Using Html.BeginForm("FetchOrSearch", "Wiki", Nothing, FormMethod.Get, New With {.class = "navbar-form form-search", .style = "border:none; box-shadow:none;"})
                    @<div class="input-group">
                        @Html.TextBox("page", "", New With {.placeholder = "חפש בויקי", .class = "form-control"})
                        <span class="input-group-btn">
                            <input class="btn btn-search" type="submit" value="חפש">
                        </span>
                    </div>
                End Using
            </div>
        </div>
    </div>
    <div class="container body-content">
        @RenderBody()
    </div>
</body>
</html>
